<!-- 已选择车型 -->
<div class="clearfix">
</div>
<!--配件分类-->
<div class="category">
    <div class="category_left">
        <h1>配件分类</h1>
    </div>
    <div class="category_right">
        <ul>
            <li ng-if="x.goodsAssortmentName!='其它'&&x.goodsAssortmentName!='精品装饰'&&x.goodsAssortmentName!='随车工具、标准件及耗材'" ng-click="TopCategory(x.goodsAssortmentId)" ng-class="{ 'background' : current == x.goodsAssortmentId }" ng-repeat="x in classify">{{x.goodsAssortmentName}}</li>
        </ul>
    </div>
</div>
<!--二三级分类开始-->
<div class="Accessories" ng-repeat="i in classify" ng-if="current == i.goodsAssortmentId">
    <div class="Accessories_main" ng-repeat="ii in (i.goodsAsssortmentList)" ng-if="currenttwo == ii.goodsAssortmentId?currenttwo == ii.goodsAssortmentId:currenttwo==true" ng-hide="i.goodsAssortmentName=='养护易损'&&ii.goodsAssortmentName!='保养配件'">
        <div class="Accessories_main_left">
            <h1>{{ii.goodsAssortmentName}}</h1>
        </div>
        <div class="Accessories_main_right">
            <ul>
                <li ng-repeat="iii in ii.goodsAsssortmentList" ng-class="{ 'background' : currentt == iii.goodsAssortmentId }" ng-click="reclassify(iii)">
                    {{iii.goodsAssortmentName}}
                </li>
            </ul>
        </div>
    </div>
</div>
<button style="position: absolute;top:601px" ng-click="show()" ng-if="showTwo">{{ShowcurrentTwo}}</button>
<!--品质开始-->
<div class="quality">
    <div class="quality_left">
        <h1>品质</h1>
    </div>
    <div class="quality_right">
        <ul>
            <li label>原厂件</li>
            <li label>品牌件</li>
            <li label>放心件</li>
            <li label>适用件</li>
            <li label>拆车件</li>
            <li label>翻新件</li>
        </ul>
    </div>
</div>
<!--品牌开始-->
<div class="brand">
    <div class="brand_left">
        <h1>配件品牌</h1>
    </div>
    <div class="brand_right">
        <img src="../../images/logo.png">
        <img src="../../images/logo.png">
        <img src="../../images/logo.png">
        <img src="../../images/logo.png">
        <img src="../../images/logo.png">
        <img src="../../images/logo.png">
    </div>
</div>
<!--询价单开始-->
<div class="sheet">
    <div>
        <label label>前</label>
        <label label>后</label>
    </div>
    <div>
        <label label1>左</label>
        <label label1>右</label>
    </div>
    <div>
        <label label2>主体件</label>
        <label label2>安装附件</label>
    </div>
    <span class="sheet_span_left" ng-click="empty(oemlist)">清空</span>
    <span class="sheet_span_right" ng-click="inquirySheet(currentt,current,currenttwo)">查看询价单</span>
    <span class="sheet_span_right_center" ng-click="SheetJion()">加入询价单</span>
    <span class="sheet_span_center" ng-click="search(currentt)">搜索</span>
</div>
<!--详情开始-->
<div class="details">
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <th class="details_first">品牌集团</th>
            <th class="details_second">OEM编码</th>
            <th class="details_third">OE名称</th>
            <th class="details_fouth">配件使用说明</th>
            <th class="details_fifth">分类</th>
            <th class="details_sixth">4s参考价</th>
            <th class="details_seventh">配件车型</th>
            <th class="details_eighth">配件种类</th>
            <th class="details_nineth">商品品牌</th>
            <th class="details_tenth">价格</th>
            <th class="details_eleventh">库存</th>
            <th class="details_twelveth">
                <input type="checkbox" ng-click="checkAll(ifSelected,oemlist)" ng-model="ifSelected">
                <span>全选</span>
            </th>
        </tr>
        <tr ng-repeat="data in oemlist">
            <td class="details_first">{{data.brandGroup}}</td>
            <td class="details_second"><pre>{{data.oemCode}}</pre></td>
            <td class="details_third">{{data.newName}}</td>
            <td class="details_fouth">{{data.partsIntroduction}}</td>
            <td class="details_fifth">{{data.classify}}</td>
            <td class="details_sixth">{{data.referPic}}</td>
            <td class="details_seventh">
                <div class="goods_con_fit">
                    <i>适用车型</i>
                    <ul class="goods_fit_ul">
                        <li ng-repeat="branchs in data.partsList track by $index" ng-if="data.partsList!=''">
                            <span>{{branchs}}</span>
                        </li>
                        <li ng-if="data.partsList==''">空</li>
                    </ul>
                </div>
            </td>
            <td class="details_eighth">{{data.partsClassify}}</td>
            <td class="details_nineth">{{data.goodsBrand}}</td>
            <td class="details_tenth">
                <div class="goods_money">
                    <i ng-if="data.qutaList!=''">价格</i>
                    <span ng-if="data.qutaList==''">无</span>
                    <ul class="goods_money_ul" ng-if="data.qutaList!=''">
                        <li ng-repeat="branch in data.qutaList" ng-if="data.qutaList!=''">
                            <span>{{branch.price|currency:"￥"}}-{{branch.qualityType}}-({{branch.vendorName}})</span>
                        </li>
                        <!--  <li ng-if="data.qutaList==''">无</li> -->
                    </ul>
                </div>
            </td>
            <td class="details_eleventh">{{data.storeCnt}}</td>
            <td class="details_twelveth">
                <input type="checkbox" ng-click="check(data)" ng-model="data.dataOEM" ng-checked="ifSelect(data.oemId)">
                <span>选择</span>
            </td>
        </tr>
    </table>
</div>
<!--隐藏域-->
<input type="hidden" ng-model="parentid">
<!-- loading加载效果 -->
<div class="dialogbox" ng-show="spinner">
    <div class="maskDiv"></div>
    <div class="spinner">
        <div class="spinner-container container1">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
        </div>
        <div class="spinner-container container2">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
        </div>
        <div class="spinner-container container3">
            <div class="circle1"></div>
            <div class="circle2"></div>
            <div class="circle3"></div>
            <div class="circle4"></div>
        </div>
    </div>
</div>
